home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3pyrmap.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.5 KB  |  104 lines

  1.  
  2. // JavaScript wrapper for r3pyrmap.h
  3. // Auto generated file, do not modify by hand
  4. // Copyrights 2002, Realsoft Graphics Oy
  5.  
  6. var R3_PYRAMIDMAP_H = 1;
  7. include("oops/r3vector.js")
  8. include("real/objects/r3map.js")
  9.  
  10.  
  11. var R3CLID_PYRAMIDMAPPING = 1557;
  12.  
  13.  
  14.  
  15.  
  16. R3PYRMAPA_P0 = 1557501;
  17. function SetR3PYRMAPA_P0(value) {
  18.   R3Set(this.r3obj, R3PYRMAPA_P0, value, R3TID_VECTOR, 0); 
  19. }
  20.  
  21. function GetR3PYRMAPA_P0() {
  22.   return R3Get(this.r3obj, R3PYRMAPA_P0, R3TID_VECTOR, 0); 
  23. }
  24.  
  25. R3PYRMAPA_P1 = 1557502;
  26. function SetR3PYRMAPA_P1(value) {
  27.   R3Set(this.r3obj, R3PYRMAPA_P1, value, R3TID_VECTOR, 0); 
  28. }
  29.  
  30. function GetR3PYRMAPA_P1() {
  31.   return R3Get(this.r3obj, R3PYRMAPA_P1, R3TID_VECTOR, 0); 
  32. }
  33.  
  34. R3PYRMAPA_P2 = 1557503;
  35. function SetR3PYRMAPA_P2(value) {
  36.   R3Set(this.r3obj, R3PYRMAPA_P2, value, R3TID_VECTOR, 0); 
  37. }
  38.  
  39. function GetR3PYRMAPA_P2() {
  40.   return R3Get(this.r3obj, R3PYRMAPA_P2, R3TID_VECTOR, 0); 
  41. }
  42.  
  43. R3PYRMAPA_P3 = 1557504;
  44. function SetR3PYRMAPA_P3(value) {
  45.   R3Set(this.r3obj, R3PYRMAPA_P3, value, R3TID_VECTOR, 0); 
  46. }
  47.  
  48. function GetR3PYRMAPA_P3() {
  49.   return R3Get(this.r3obj, R3PYRMAPA_P3, R3TID_VECTOR, 0); 
  50. }
  51.  
  52. R3PYRMAPA_Width = 1557505;
  53. function SetR3PYRMAPA_Width(value) {
  54.   R3Set(this.r3obj, R3PYRMAPA_Width, value, R3TID_FLOAT, 0); 
  55. }
  56.  
  57. function GetR3PYRMAPA_Width() {
  58.   return R3Get(this.r3obj, R3PYRMAPA_Width, R3TID_FLOAT, 0); 
  59. }
  60.  
  61. R3PYRMAPA_Height = 1557506;
  62. function SetR3PYRMAPA_Height(value) {
  63.   R3Set(this.r3obj, R3PYRMAPA_Height, value, R3TID_FLOAT, 0); 
  64. }
  65.  
  66. function GetR3PYRMAPA_Height() {
  67.   return R3Get(this.r3obj, R3PYRMAPA_Height, R3TID_FLOAT, 0); 
  68. }
  69.  
  70. R3PYRMAPA_Depth = 1557507;
  71. function SetR3PYRMAPA_Depth(value) {
  72.   R3Set(this.r3obj, R3PYRMAPA_Depth, value, R3TID_FLOAT, 0); 
  73. }
  74.  
  75. function GetR3PYRMAPA_Depth() {
  76.   return R3Get(this.r3obj, R3PYRMAPA_Depth, R3TID_FLOAT, 0); 
  77. }
  78.  
  79.  
  80.  
  81. function r3Pyramidmapping () { 
  82.    this.base = r3God;
  83.    if(arguments.length) {
  84.       this.base(R3CLID_PYRAMIDMAPPING, arguments);
  85.    }
  86.    // Attributes
  87.    this.GetP0=GetR3PYRMAPA_P0;
  88.    this.SetP0=SetR3PYRMAPA_P0;
  89.    this.GetP1=GetR3PYRMAPA_P1;
  90.    this.SetP1=SetR3PYRMAPA_P1;
  91.    this.GetP2=GetR3PYRMAPA_P2;
  92.    this.SetP2=SetR3PYRMAPA_P2;
  93.    this.GetP3=GetR3PYRMAPA_P3;
  94.    this.SetP3=SetR3PYRMAPA_P3;
  95.    this.GetWidth=GetR3PYRMAPA_Width;
  96.    this.SetWidth=SetR3PYRMAPA_Width;
  97.    this.GetHeight=GetR3PYRMAPA_Height;
  98.    this.SetHeight=SetR3PYRMAPA_Height;
  99.    this.GetDepth=GetR3PYRMAPA_Depth;
  100.    this.SetDepth=SetR3PYRMAPA_Depth;
  101. }
  102.  
  103. r3Pyramidmapping.prototype=new r3Mapping;
  104. // r3pyrmap.h_H